package com.example.bookshop.service.user;

import com.example.bookshop.entity.BaseOrder;
import com.example.bookshop.entity.Order;
import com.example.bookshop.result.Result;

import javax.servlet.http.HttpSession;
import java.util.List;

public interface OrderService {
    public Result addOrder(Order order, HttpSession session);
    public List<BaseOrder> getListOrder(HttpSession session);
    public Order OrderDetail(Integer id);
    public Result deliverGoods(Order order);//修改物流信息
    public List<BaseOrder>getUserOrder(HttpSession session);//查找用户订单信息
    public Result confirmOrder(Integer id);//确认订单
}
